package com.genersoft.iot.vmp.service;

import com.genersoft.iot.vmp.common.GeneralCallback;
import com.genersoft.iot.vmp.common.StreamInfo;
import com.genersoft.iot.vmp.vmanager.bean.WVPResult;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author ：mengfanlu
 * @date ：Created in 2023/8/7 16:08
 * @description：
 * @modified By：
 * @version: ${1.0.0}
 */
public interface ITalkbackService {

    WVPResult getWebRtcAddr(String deviceId,String channelId);

    void talk(String deviceId, String channelId,String stream,String app, GeneralCallback<Object> callback);

    void DHTalk(String deviceId, String channelId, String stream, String app, GeneralCallback<Object> callback);

    WVPResult sendAudioFileToDevice(String deviceId, String channelId, String streamId, MultipartFile mp3File);
}
